import http from '@/axios';

/**
 * 自助缴费服务模块
 */
// 验证挂号编码后跳转下一个页面
export const validateRegistrationCode = (form) => http.post('/selfPayment/validateRegistrationCode', form);
// 根据挂号编号获取患者基础信息及费用明细
export const getPatientFeeDetailsByRegNo = (form) => http.post('/selfPayment/getPatientFeeDetailsByRegNo', form);

/**
 * 根据挂号凭证编码相关操作
 */
// 根据挂号编号获取患者基础信息及费用明细
export const getExamOrderItemListByVisit = (form) => http.post('/selfPayment/getExamOrderItemListByVisit',form);
// 确认支付费用
export const completePayment = (form) => http.post('/selfPayment/completePayment',form);
